.selectBox {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  border-radius: 2px;
  .list {
    // position: absolute;
    // top: 25px;
    width: 263px;
    max-height: 322px;
    margin-top: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #fff;
    border: solid 1px #ddd;
    border-radius: 2px;

    .message-list-sort-item {
      position: relative;
      display: flex;
      align-items: center;
      height: 32px;
      padding: 0 0 0 8px;
      overflow: hidden;
      > p {
        flex: 1;
        margin-bottom: 0;
        padding-right: 8px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
      > div {
        position: absolute;
        top: 0;
        right: 6px;
        display: flex;
        align-items: center;
        height: 32px;
        opacity: 0;
        transition: all ease 0.3s;
        pointer-events: none;
        > span {
          padding: 8px 2px;
          color: #ccc;
          &:hover {
            color: #8c8c8c;
          }
        }
        > svg {
          margin: 0 2px 0 5px;
          cursor: move;
          &:hover {
            circle {
              fill: #8c8c8c;
            }
          }
        }
      }

      &:hover {
        background-color: #f5f5f5;
        > p {
          padding-right: 44px;
        }
        > div {
          opacity: 1;
          pointer-events: auto;
        }
      }
    }
  }
}

.message-list-sort-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 0 0 8px;
  overflow: hidden;
  transition: background ease 0.3s;
  > p {
    flex: 1;
    margin-bottom: 0;
    padding-right: 44px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  > div {
    position: absolute;
    top: 0;
    right: 6px;
    display: flex;
    align-items: center;
    height: 32px;
    opacity: 1;
    transition: all ease 0.3s;
    pointer-events: none;
    > span {
      padding: 8px 2px;
      color: #ccc;
    }
    > svg {
      margin: 0 2px 0 5px;
      cursor: move;
    }
  }
}

.page-select-model-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;

  .select-count-nav {
    > p {
      margin-bottom: 0;

      > span:first-child {
        color: var(--inbiz-color-primary);
      }
    }
  }
}
